package com.netty.rpc.protocol.server;

import com.netty.rpc.common.entity.AppEntity;


public interface ServerExcutor {

    /**
     * 启动netty server
     */
    void start(AppEntity appEntity) throws Exception;

    /**
     * 是否启动
     *
     * @return
     */
    boolean started(AppEntity appEntity) throws Exception;
}
